{% extends 'HrOnlineBundle::layout.html.twig' %}

{% block body %}

    <header>
        <h1>{% trans %}Login{% endtrans %}</h1>
    </header>

	{% include 'HrOnlineBundle:Default:_flashes.html.twig' %}

    {% if error %}
		<div class="flash flash-error">
			{{ error.message|trans }}
		</div>
    {% endif %}

	{{ include(
			'HrOnlineBundle:user:_loginForm.html.twig'
	)}}

{% endblock %}